{% load i18n %}

<div class="list-group">
{% for i,j in cg_list %}
  <a href="{% url 'feeds' %}?category={{ i }}" class="list-group-item{% if active == i %} active{% endif %}">
    <span>{{ j }}</span>
    <span class="badge">{% for key in count.items %}{% if key.0 == i %}{{ key.1 }}{% endif %}{% endfor %}</span>
  </a>
{% endfor %}
</div>
